home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / System / ReqToolsLib / Source / reqtools / reqtools_intern.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-02  |  2.1 KB  |  82 lines

  1. /*
  2.     (C) 1999 AROS - The Amiga Research OS
  3.     $Id: reqtools_intern.h,v 1.5 2001/04/24 23:18:41 stegerg Exp $
  4.  
  5.     Desc:
  6.     Lang: English
  7. */
  8.  
  9. /****************************************************************************************/
  10.  
  11. #ifndef REQTOOLS_INTERN_H
  12. #define REQTOOLS_INTERN_H
  13.  
  14. /****************************************************************************************/
  15.  
  16. #include <exec/execbase.h>
  17. #include <dos/dos.h>
  18. #include <libraries/reqtools.h>
  19. #include <libraries/locale.h>
  20. #include <intuition/intuition.h>
  21.  
  22. /****************************************************************************************/
  23.  
  24. struct IntReqToolsBase
  25. {
  26.     struct ReqToolsBase    rt;
  27.  
  28.     struct ExecBase     *rt_SysBase;
  29. /*
  30.     struct Library     *rt_LocaleBase;
  31.     struct Library     *rt_LayersBase;
  32. */
  33.     struct IORequest     rt_cdevio;   /* For communication with console.device */
  34. };
  35.  
  36. /****************************************************************************************/
  37.  
  38. #ifdef _AROS
  39.  
  40. /* filereqalloc.c */
  41.  
  42. struct RealFileRequester;
  43.  
  44. APTR AllocRequestA (ULONG type, struct TagItem *taglist);
  45. void FreeRequest (APTR);
  46. void FreeReqBuffer (APTR);
  47. LONG ChangeReqAttrA (APTR, struct TagItem *);
  48. APTR FileRequestA(struct RealFileRequester *,char *,char *,struct TagItem *);
  49. void FreeFileList (struct rtFileList *);
  50.  
  51. /* general.c */
  52.  
  53. int GetVScreenSize (struct Screen *scr, int *width, int *height);
  54.  
  55. /* req.c */
  56.  
  57. ULONG GetString (UBYTE *stringbuff, LONG maxlen, char *title,
  58.          ULONG checksum, ULONG *value, LONG mode,
  59.              struct rtReqInfo *reqinfo, struct TagItem *taglist);
  60.  
  61. /* palettereq.c */
  62.  
  63. LONG PaletteRequestA (char *title, struct rtReqInfo *reqinfo, struct TagItem *taglist);
  64.  
  65. #endif
  66.  
  67. /****************************************************************************************/
  68.  
  69. /* Fix name clashes */
  70. typedef  struct IntuitionBase  IntuiBase;
  71.  
  72. #define GPB(x)         ((struct IntReqToolsBase *)x)
  73.  
  74. #ifdef _AROS
  75. #define expunge() \
  76. AROS_LC0(BPTR, expunge, struct IntReqToolsBase *, RTBase, 3, ReqTools)
  77. #endif
  78.  
  79. /****************************************************************************************/
  80.  
  81. #endif /* REQTOOLS_INTERN_H */
  82.